package com.young.shop.pojo.vo;




/**
 * 枚举
 */


public enum StatusCode {
    SUCCESS(200, "success"),
    ERROR(404, "error"),
    SYS_ERROR(40000, "系统错误!!! 请稍后再试"),
    ;




    public void setStatus(int status) {
        this.status = status;
    }



    public void setMsg(String msg) {
        this.msg = msg;
    }

    private int status;
    private String msg;

    StatusCode(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }
}
